package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_dig_gold_palace_reward", autoSave = true)
public class LogDigGoldPalaceReward {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "用户当前所在第一行")
    private int inRow;
    @FieldTypeAnnotation(desc = "地图下标")
    private int mapIndex;
    @FieldTypeAnnotation(desc = "奖励下标")
    private int boxIndex;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "操作时间")
    private Date time;

    public LogDigGoldPalaceReward(int activityId, long userId, int inRow, int mapIndex, int boxIndex, String reward, Date time) {
        this.activityId = activityId;
        this.userId = userId;
        this.inRow = inRow;
        this.mapIndex = mapIndex;
        this.boxIndex = boxIndex;
        this.reward = reward;
        this.time = time;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getInRow() {
        return inRow;
    }

    public void setInRow(int inRow) {
        this.inRow = inRow;
    }

    public int getMapIndex() {
        return mapIndex;
    }

    public void setMapIndex(int mapIndex) {
        this.mapIndex = mapIndex;
    }

    public int getBoxIndex() {
        return boxIndex;
    }

    public void setBoxIndex(int boxIndex) {
        this.boxIndex = boxIndex;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
